<@p.frontPage css="index">
<#assign base="/pi">
<script language="javascript">
function validateForm()
{
  var c_realname=document.reg.empRealName.value;
  var c_name=document.reg.empName.value;
  var c_birth=document.reg.empBirth.value;
  var c_class=document.reg.empClass.value;
  var c_qq=document.reg.empQq.value;
  var c_phone=document.reg.empPhone.value;
  var c_email=document.reg.empEmail.value;
  var c_intro=document.reg.introduction;
  var c_org=document.reg.org.value;
  var c_tec=document.reg.tec.value;
  var c_dep=document.reg.empDep;
  var c_level=document.reg.empLeve;
  var c_p=document.reg.empSpe;
  var dp=true;
  var dg=true;
  var ds=true;
  var dc=true;
  
  
  if(c_realname==""){
		alert("请填写您的真实姓名！");
		document.reg.empRealName.focus();
		return false;
		}
	if(c_name==""){
			alert("请填写您的学号！");
		document.reg.empName.focus();
		return false;
	}
	if(c_birth==""){
			alert("请填写您的生日！");
		document.reg.empBirth.focus();
		return false;
	}
	if(!(document.reg.empSex[0].checked ||document.reg.empSex[1].checked)){
		alert("请选择您的性别！");
		return false;
	}
	for(var i=0;i<c_dep.options.length;i++){
		if(c_dep.options[i].value!=0 && c_dep.options[i].selected){
				dg = false;
			}
		}
	if(dg){
		alert("请选择您的所在系！");
		return false;
	}
	for(var i=0;i<c_p.options.length;i++){
		if(c_p.options[i].value!=0 && c_p.options[i].selected){
				dp = false;
			}
		}
	if(dp){
		alert("请选择您的专业！");
		document.reg.empSpe.focus();
		return false;
	}
	for(var i=0;i<c_level.options.length;i++){
		if(c_level.options[i].value!=0 && c_level.options[i].selected){
				ds = false;
			}
		}
	if(ds){
		alert("请选择您的学历层次！");
		return false;
	}
	if(c_class==""){
		alert("请填写您的班级！");
		document.reg.empClass.focus();
		return false;
	}
	if(c_qq==""){
		alert("请填写您的QQ号码");
		document.reg.empQq.focus();
		return false;
	}
	if(c_phone==""){
		alert("请填写您的手机号码");
		document.reg.empPhone.focus();
		return false;
	}
	if(c_email==""){
		alert("请填写您的E－mail地址");
		document.reg.empEmail.focus();
		return false;
	}
	for(var i=0;i<c_intro.options.length;i++){
		if(c_intro.options[i].value!=0 && c_intro.options[i].selected){
				dc = false;
			}
		}
	if(dc){
		alert("请选择您的所报方向！");
		return false;
	}
	if(c_org==""){
		alert("请填写您参加过的社团或组织");
		document.reg.empEmail.focus();
		return false;
	}
	if(c_tec==""){
		alert("请填写擅长的技术");
		document.reg.empEmail.focus();
		return false;
	}
	return true;
}
</script>
<SCRIPT language=JavaScript>
	var onecount;
	onecount=0;
	subcat = new Array();
		  subcat[0] = new Array("应用日语(专科)","日语系");  
		  subcat[1] = new Array("日语","日语系");  
		  subcat[2] = new Array("应用英语(专科)","英语系");  
		  subcat[3] = new Array("英语","英语系");  
		  subcat[4] = new Array("影视动画(专科)","数字艺术系");  
		  subcat[5] = new Array("动画","数字艺术系");  
		  subcat[6] = new Array("艺术设计(电脑动画方向)","数字艺术系");  
		  subcat[7] = new Array("嵌入式系统工程(专科)","嵌入式系统工程系");  
		  subcat[8] = new Array("电子信息工程(嵌入式系统工程方向)","嵌入式系统工程系");  
		  subcat[9] = new Array("电子信息工程(集成电路设计与系统方向)","嵌入式系统工程系");  
		  subcat[10] = new Array("物流管理(专科)","信息技术与商务管理系");  
		  subcat[11] = new Array("工商企业管理(专科)","信息技术与商务管理系");  
		  subcat[12] = new Array("电子商务(专科)","信息技术与商务管理系");  
		  subcat[13] = new Array("物流工程","信息技术与商务管理系");  
		  subcat[14] = new Array("人力资源管理","信息技术与商务管理系");  
		  subcat[15] = new Array("信息管理与信息系统","信息技术与商务管理系");  
		  subcat[16] = new Array("电子商务","信息技术与商务管理系"); 
		  subcat[17] = new Array("计算机网络技术(专科)","计算机科学与技术系"); 
		  subcat[18] = new Array("计算机应用技术(专科)","计算机科学与技术系");  
		  subcat[19] = new Array("软件技术(专科)","计算机科学与技术系");  
		  subcat[20] = new Array("通信工程","计算机科学与技术系");
		  subcat[21] = new Array("网络工程","计算机科学与技术系");  
		  subcat[22] = new Array("软件工程","计算机科学与技术系");  
		  subcat[23] = new Array("计算机科学与技术","计算机科学与技术系");  
	onecount=24;
	function changelocation(locationid)
	{
		  document.reg.empSpe.length = 0; 
		  var locationid=locationid;
		  var i;
		  document.reg.empSpe.options[0] = new Option('--请选择--','');
		  for (i=0;i < onecount; i++)
			  {
				  if (subcat[i][1] == locationid)
				  { 
					  document.reg.empSpe.options[document.reg.empSpe.length] = new Option(subcat[i][0], subcat[i][0]);
				  }        
			  }
	
	}    
	</SCRIPT>
</head>
<body onload="setWitdh()">
<div class="main">
  <div class="top">
    <div class="top_top">
      <div class="top_top_logo"></div>
      <div class="top_top_link">
        <ul>
          <li class="top_top_link_short"><a href="index.html">首页</a>
            <div class="top_top_link_line"></div>
          </li>
          <li class="top_top_link_long"><a href="#">联系我们</a>
            <div class="top_top_link_line"></div>
          </li>
          <li class="top_top_link_long"><a href="#">相关信息</a></li>
        </ul>
      </div>
    </div>
    <div class="top_down">
      <div class="top_down_left">
        <div class="top_down_left_img"></div>
        <div class="top_down_information"> <img src="images/top_down_left_imgs.jpg" />
          <div class="top_down_information_ch">文字介绍</div>
          <div class="top_down_information_en">Some information</div>
        </div>
        <div class="top_down_information"> <img src="images/top_down_left_imgs.jpg" />
          <div class="top_down_information_ch">文字介绍</div>
          <div class="top_down_information_en">Some information</div>
        </div>
        <div class="top_down_information"> <img src="images/top_down_left_imgs.jpg" />
          <div class="top_down_information_ch">文字介绍</div>
          <div class="top_down_information_en">Some information</div>
        </div>
      </div>
      <div class="top_down_right"></div>
    </div>
  </div>
  <div class="menu">
    <ul>
      <li> <a href="index.html">
        <div class="menu_ch">首页</div>
        <div class="menu_en">Home</div>
        </a> </li>
      <li> <a href="Information.html" class="active1">
        <div class="menu_ch">招聘信息</div>
        <div class="menu_en">Information</div>
        </a> </li>
      <li> <a href="training.html">
        <div class="menu_ch">人才培养</div>
        <div class="menu_en">Training</div>
        </a> </li>
      <li> <a href="contact.html">
        <div class="menu_ch">联系我们</div>
        <div class="menu_en">Contact</div>
        </a> </li>
      <li> <a href="about.html">
        <div class="menu_ch">关于派尔</div>
        <div class="menu_en">About</div>
        </a> </li>
    </ul>
  </div>
  <div class="middle_main_infor">
    <div class="loginsearch">
      <div class="login"></div>
      <div class="search">
        <div class="search_word">站内搜索：</div>
        <input type="text" name="search" class="searchinput" onclick="this.value='';" value="Enter Your Keyword Here">
      </div>
    </div>
    <div class="middle_infor">
    <div class="middle_form_left">
<div class="middle_left_title">
            <div class="middle_left_title_word">在线投简历</div>
          </div>
 <form name="reg" action="${base}/addemployee.do" method="post" id="applicationform" onsubmit="return validateForm(this)">
       <div class="middle_name"><label for="empRealName">真实姓名 *</label><input type="text" name="empRealName" id="empRealName" tabindex="1" /><div class="errormessage"></div>   </div>
       
     <div class="middle_sex"> <label for="empSex">性别 *</label>男<input type="radio" name="empSex" id="sex" tabindex="4" value="1"/>女<input type="radio" name="empSex" id="sex" tabindex="5" value="2"/><div class="errormessage"></div></div>   
     
     <div class="spacer"></div>      
    <div class="middle_number"><label for="empName">学号 *</label> <input type="text" name="empName" id="empName" tabindex="2" /><div class="errormessage"></div></div>
         
       <div class="middle_bir"><label for="empBirth">出生日期(YY-MM-DD)*</label> <input type="text" name="empBirth" id="empBirth" tabindex="3" /><div class="errormessage"></div></div>
         
      <div class="spacer"></div>
           
      <div class="middle_xi"> <label for="empDep">所在系 *</label><select onchange="changelocation(document.reg.empDep.options[document.reg.empDep.selectedIndex].value)" name="empDep">
           <option class="aa" value="0" selected="selected">--请选择--</option>
           <option value="计算机科学与技术系">计算机科学与技术系</option>
           <option value="信息技术与商务管理系">信息技术与商务管理系</option>
           <option value="嵌入式系统工程系">嵌入式系统工程系</option>
           <option value="数字艺术系">数字艺术系</option>
           <option value="英语系">英语系</option>
           <option value="日语系">日语系</option>
          </select></div>
          
     <div class="middle_learn">  <label for="empSpe">专业 *</label><select class="aa" id="empSpe" name="empSpe">
       <option value="0" selected="selected">--请选择--</option>
    </select></dd>
    </div>
    <div class="spacer"></div>
    <div class="middle_learn2">
       <label for="empLeve">学历层次 *</label>
           <select name="empLeve" id="empLeve" tabindex="8" >
               <option value="">--请选择--</option>
               <option value="1">专科</option>
               <option value="2">本科</option>
               </select><div class="errormessage"></div></div>
           <div class="middle_class">
        <label for="empClass">所在班级 *</label>
            <input type="text" name="empClass" id="empClass" tabindex="9" /><div class="errormessage"></div></div>
            <div class="spacer"></div>
            <div class="middle_qq">
        <label for="empQq">QQ号码*</label></dt>
           <input type="text" name="empQq" id="empQq" tabindex="10" /><div class="errormessage"></div></div>
           <div class="middle_phone">
        <label for="empPhone">手机号 *</label></dt>
            <input type="text" name="empPhone" id="empPhone" tabindex="11" /><div class="errormessage"></div></div>
            <div class="spacer"></div>
            <div class="middle_email">
       <label for="empEmail">E-mail *</label></dt>
            <input type="text" name="empEmail" id="empEmail" tabindex="12" /><div class="errormessage"></div></div>
            <div class="middle_intro">
        <label for="introduction">所报职位*</label></dt>
            <select name="introduction" id="empPos" tabindex="8" >
               <option value="">--请选择--</option>
               <option value="1">研发人员</option>
               <option value="2">品牌策划人员</option>
               <option value="3">平面设计人员</option>
               <option value="4">运维人员</option>
               <option value="5">行政人员</option>
               </select></dd></div>
               <div class="spacer"></div>
               <div class="middle_org">
        <label for="org">参与过的社团或组织*</label>
            <textarea name="org" id="org" rows="5" cols="30" tabindex="14"></textarea></div>
        <div class="middle_tec">
        <label for="tec">擅长的技术*</label>
            <textarea name="tec" id="tec" rows="5" cols="30" tabindex="15"></textarea></div>
            <div class="spacer"></div>
         <input type="submit" id="ButtonBlue1" value="提交" tabindex="16" />
         <input type="reset" value="重置"  id="ButtonBlue2" tabindex="17" />
  </form>
	</div>
      </div>
    </div>
  <div class="footer">
    <div class="footer_left">
      <div class="footer_logo"></div>
      <div class="footer_logo_word">SOVO派尔信息技术公司</div>
    </div>
    <div class="footer_middle">
      <div class="footer_middle_circle">
        <div class="footer_middle_title">
          <div class="footer_middle_title_word">相关信息 Information</div>
        </div>
        <ul>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
          
        </ul>
      </div>
      <div class="footer_middle_circle">
        <div class="footer_middle_title">
          <div class="footer_middle_title_word">相关信息 Information</div>
        </div>
        <ul>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
    
        </ul>
      </div>
      <div class="footer_middle_circle">
        <div class="footer_middle_title">
          <div class="footer_middle_title_word">相关信息 Information</div>
        </div>
        <ul>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
          <li>
            <div class="footer_middle_li"><a href="#">●  联通新势力</a></div>
          </li>
       
        </ul>
      </div>
    </div>
    <div class="footer_right">
      <div class="footer_right_words">
        <div class="footer_right_word">Copyright © 2009 SOVO All Rights Reserved</div>
        <div class="footer_right_word">Powered By Pioneer</div>
      </div>
      <a href="index.html#">
      <div class="footer_right_return"></div>
      </a> </div>
     <div class="footer_bottom">
     </div>
  </div>
</div>
</@p.frontPage>
